.card-tree {
    max-height: 520px; overflow-y: auto;
}
.box-file {
    position: relative; height: 550px; display: flex; flex-direction: column; align-content: space-between;
    .head {
        padding: 0 0 10px 0; display: flex; justify-content: space-between;
        .search-form {
            width: 200px;
        }
    }
    .inner {
        height: 100%;
    }
    .foot {
        position: absolute; width: 100%; left: 0; bottom: 0; display: flex; justify-content: space-between;
        .actions {
            font-size: 12px; color: #999;
            .btn {
                font-size: 10px; margin-left: 10px;
            }
        }
    }
}

.file-item {
    position: relative; cursor: pointer; border-radius: 2px; padding: 4px; border: 1px solid rgba(0, 0, 0, .05); transition: All .2s ease-in-out;
    .cover {
        width: 100%; height: 100px; background-position: center; background-size: cover; display: flex; justify-content: center; align-items: center;
        .icon-file {
            font-size: 50px; color: #e6f0f0;
        }
    }
    .desc {
        font-size: 12px; text-align: center; color: #666; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all;
    }
    .mask {
        position: absolute; left: 0; right: 0; top: 0; bottom: 0;  border-radius: 2px; display: flex; justify-content: center; align-items: center;
        &::before {
            content: ' '; background: rgba(0, 0, 0, .41); position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 0;
        }
        .icon {font-size: 30px; color: #fff; z-index: 999;}
    }
}

.assets-cover {
    width: 70px; height: 70px; border-radius: 2px; padding: 5px; border: 1px solid rgba(0, 0, 0, .05);  display: inline-flex; justify-content: center; align-items: center;
    &.cursor{cursor: pointer;}
    .icon-file {
        font-size: 20px; color: #e6f0f0;
    }
    img {
        max-width: 100%; max-height: 100%;
    }
}